package com.company.lifecycleCallbacks.config;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

/**
 * @Author: zhaopeng
 * @Date: Created in 10:24 2020/9/29
 * @Modified By:
 */
@Component
public class BeanDestroyed implements DisposableBean {

	@Override
	public void destroy() throws Exception {
		System.out.println("销毁中。。。。。。。。。。。");
	}
}
